{% extends 'no_5/base.html' %}

{% block style_custom %}
    <style>
        label {
            width: 80px;
            text-align: right;
            display: inline-block;
        }
    </style>
{% endblock %}

{% block body_base %}
    <form action="login.html" method="post">
        {% csrf_token %}
        <div>
            <label for="user">用户名：</label>
            <input id="user" type="text" name="user"/>
        </div>
        <div>
            <label for="pwd">密码：</label>
            <input id="pwd" type="password" name="pwd"/>
        </div>
        <div>
            <label> </label>
            <input type="submit" value="登录"/>
            <span style="color: red;">{{ msg }}</span>
        </div>
    </form>
{% endblock %}


{% block script_custom %}{% endblock %}
